package com.usion.student.controller;

import com.usian.common.JsonRootBean;
import com.usian.common.ResultVo;
import com.usion.student.pojo.Stude;
import com.usion.student.service.StudeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("stude")
public class StudeController {
@Autowired
private StudeService studeService;
    @RequestMapping("z")
    public ResultVo regin(@RequestBody Stude stude) throws Exception{

        return studeService.regin(stude);
    }
}
